<script>

</script>
<template>
    <el-card>
        <template #header>课程表</template>
        <el-table border stripe size="small" :data="[1, 2, 3, 4, 5, 6, 7]">
            <el-table-column :label="'星期\n节次'" type="index" width="50" align="center"></el-table-column>
            <el-table-column label="星期一" align="center">
                <template #default="{ row }">
                    <div v-html="row.monday"></div>
                </template>
            </el-table-column>
            <el-table-column label="星期二" align="center">
                <template #default="{ row }">
                    <div v-html="row.tuesday"></div>
                </template>
            </el-table-column>
            <el-table-column label="星期三" align="center">
                <template #default="{ row }">
                    <div v-html="row.wednesday"></div>
                </template>
            </el-table-column>
            <el-table-column label="星期四" align="center">
                <template #default="{ row }">
                    <div v-html="row.thursday"></div>
                </template>
            </el-table-column>
            <el-table-column label="星期五" align="center">
                <template #default="{ row }">
                    <div v-html="row.friday"></div>
                </template>
            </el-table-column>
            <el-table-column label="星期六" align="center">
                <template #default="{ row }">
                    <div v-html="row.saturday"></div>
                </template>
            </el-table-column>
            <el-table-column label="星期日" align="center">
                <template #default="{ row }">
                    <div v-html="row.sunday"></div>
                </template>
            </el-table-column>
        </el-table>
    </el-card>

</template>

<style scoped>

</style>
